SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2d03fcccc397bf8dbd3984917c92fdbe41c30ed6cf55ef9d0c1a2ec81ac331d4' 
  AND token = '7lAHLgGGl3WNFaelrIX/eVIBMAAtvWZyF0untZDWaSI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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