SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'eb629c7547bf4e428587a22383858329912eb8c789b929d4bc2dc5ee1f216c88' 
  AND token = 'AJLiwvAtpgErS/OITKwzBcdITw0oPP2jgD5I3G8/els=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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