SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '400edea547ba7bcb4c9fb1254e4219e4d5244137531610bbdfa062e459684f79' 
  AND token = '0BP9qB4VkLrE6NBAXvV5z9pr84mO2z0n+zRNbrNpa4w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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