SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8b9c56f351bbff958320d9a85e2be5a75ee7565668180d5f30a9357784f5e98b' 
  AND token = '2kMLZH9T3mcryMN2aLkOPHfpxCicfB+P98irPKhynUg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00066

JSON explain

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