SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a3fa5a23ebea4e28535585aec5a326cc1bd3963bf6c00b94634a2ede2d38257b' 
  AND token = 'pV4px/Rv2zvGmjeOl6Gy4eHoN/c3ZHwXLmsAvqsyP0A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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