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

Query time 0.00033

JSON explain

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