SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c7d4889cb63dec5ee3b9766829546ccf9b57e8e267d8f241fea6b7a17bd7dc5c' 
  AND token = 'vmlemF+FSgXsdg/0qyuqQNVrlm87FzeztOWbdo5NOo4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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