SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1640937fdb355556b1791f380525b233a5d9b0e4d8d90f199c9f65d2acad8bbd' 
  AND token = 'GjxQ6COkafBIpZcpIK6hx0Xn3J1KY0UFn0V1TrkW2ds=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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