SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a1a45d64dadeccc1508b76ea5429858d84c1b94e6245e90d4b4368ad5ed8554c' 
  AND token = '5hlAf9Nqg/fZbmMwaxQZJyAHf7h47T+b9EEfbTcD+00=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00012

JSON explain

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