SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd04c0872c967f1f72dfe3aadc5cd0486a5957aa3f65b636a6b82e76db163ca3d' 
  AND token = 'Gl2TCk9sQD8qsHWVFFxOomVnNV18EVGPq+pfXidxyzM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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