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

Query time 0.00035

JSON explain

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