SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bfb92b356187b265cd388567bcdd3c79a080cab6654dc7a6bfbc517bd8be8e2e' 
  AND token = 'c8jm3KJztyV4ADW/NpSQNNWb7VhJekMwFb+I4NC6j2g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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