SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8e9fa2d8903ebce78e0a836d271554ed5263ad0c21c73743a439f936a920f946' 
  AND token = 'OeQFLSPA6c/JO9X5ln6V8rk0eSXJlPCyZ7D5P647nKs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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