SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '22a2fbab294a461bdb83e04bb316864b167555d04fb189068e21d1991d7d5778' 
  AND token = 'qQq0k5GkTIHMR+J4chsOK7M54kE8Rx0LChN5AcwyWO8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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