SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2fac49abe8a87f854f0a142c8e747ea5b656e754d83876ca7de35c8311f2c023' 
  AND token = 'RYLAmb8WyWZWGP63Cy0iOIQgHfCWV+JKJM0QDxWYeB4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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