SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3cead656d0dc9aa749022dbc0c1b52f2d8dc2dde0847ae835cbeeacf88539e71' 
  AND token = 'uaz2p1leN5ppsyN3iwgY+nWFG0+KO2b7iED1kN9z/M4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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