SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6f1fc42333ae6bf7d6352853327118821aab671750110c64ee4526a08af6e52a' 
  AND token = 'HITEC2eXpnH5iElGZm1C0DLJGuVgjJz0Ip/Buy4D4WY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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