SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7c8b45d446f170b1a0391acb0caf4bdc7ab1b171e28fec84bd8ecf018af65801' 
  AND token = 'EBrNNg6PrlYe1hT7H5yf2AaSmZqJJkt+4SIymhhlNKA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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