SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1d5d3d91778f3bc01f78135bc98a17e3279b27adc50d1a5a55060ce399775f55' 
  AND token = 'oABvCirfd2TNziFqHj91Qc+Bi0recI8TI779vyo24o0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}