SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '497d71b63fde3afb91856e7d9d5aa2bbf5678c2f24f2a0bf94f031f82166dcb1' 
  AND token = 'KDAy8U5KG6opZ34zzLDIdfopPue05njRX8aEIRPJWJ0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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