SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f7a64df3cc99a6f6cf31654c213503581b6b71eed1c0357c66707177d9b2ddbe' 
  AND token = '9N6MRQZ7bbPhU16eBYq0ZB1s1aXakfCuDAHDKGdlj6I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00061

JSON explain

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