SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8db75a9b808eb6808c2e1b708bf871b6a1c0ac235027df1dc1f45485a0542a9c' 
  AND token = 'YpqLe3voyyMLBY8EEAPtipdE43X+hpti4pj0I4vtoes=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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