SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5b0af54636fc020c81ea2f8c411d945816aa81729af698515b353bc91871e5cc' 
  AND token = 'TU3yij0Zibz9KruKGVROqk6WCOyhBSntQ6SivHh4HX0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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