SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6eaaa2f435aa35c25392b2df65bf9b3ea8eaaaf453d7a00946c517b5b1e1d831' 
  AND token = 'O1ttzCiWem8b/tvoVTU6Q7bCAu15RtEE9BMD12kJ5GQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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