SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '786c55fb71dadc079b3558891b9f626120ad6d7b006b41e30c206073dd524c6d' 
  AND token = 'oijb9XcCixD7oaGpXmcYd594wSSaP0dSQT5eFk7qtdk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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