SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ac669c0420b737226cfdc97082887e5933a7406e1258ceaecb9cbb8b5dd5cbf6' 
  AND token = 'NvHKziKkx6IPDr0SgFrdgFkxten40pzaxmByp22AIM4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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