SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2d2e81ccfdc976ad18005cc1f6a35516c175a4f58381d540098960b5282b9db7' 
  AND token = 'UPa2178/Sbey7gF9/M4XWMFzaBaKRgKeG9mKng8qfG4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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