SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '379b812accd31fa39f7eba627d3c0112722d488d959f0613fd910a2d0481dbbe' 
  AND token = '+gSGQEgDPcRBcufypNVDYL+KyoL3dKCqXbsS/GSeGB4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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